import java.util.*;
public class SystemDemo3 {
	public static void main(String[] args) {
		long time=System.currentTimeMillis();
		System.out.println(time);
		Date d=new Date(time);
		System.out.println(d.toLocaleString());
	}
}
